import * as API from "@/api/api";

export default {
    //用户
    
    getNormalUserList: params => {
        return API.POST("/user/userList", params);
    },
    selectPushList: params => {
        return API.POST("/user/selectPushList", params, null, 1);
    },
    selectAssistantList: params => {
        return API.POST("/user/selectAssistantList", params, null, 1);
    },
    
    doUpdateUserType: params => {
        return API.POST("/user/doUpdateUserType", params);
    },
    doUpdateUserName: params => {
        return API.POST("/user/doUpdateUserName", params);
    },
    doAddUser: params => {
        return API.POST("/user/doAddUser", params);
    },
    doEditUser: params => {
        return API.POST("/user/doEditUser", params);
    },
    doUpdateBusinessUser: params => {
        return API.POST("/user/doUpdateBusinessUser", params, null, 1);
    },

    getSelectionUserList: params => {
        return API.POST("/user/getSelectionUserList", params, null, 1);
    },

};
